Lab4 – Use Tools and Application to Detect Button Events
----------------------------------------------------------------

/* Use Event Test Tool on EVB */
evtest /dev/input/event0

----------------------------------------------------------------

/* Create Source Code in C Language */
/* Execute Commands on Host PC */
mkdir -p ~/Linux4MCHP/Projects
cd ~/Linux4MCHP/Projects
code button.c

/* Copy the source code of "button.c" and paste it */

----------------------------------------------------------------

/* Compile C Language Code */
/* Execute Commands on Host PC */
~/Linux4MCHP/sdk/bin/arm-buildroot-linux-gnueabi-gcc button.c -o button_test
ls button*

----------------------------------------------------------------

/* Send the application to Embedded Linux OS (EVB) */

----------------------------------------------------------------

/* Execute Application on EVB */
chmod +x button_test
./button_test

----------------------------------------------------------------